<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>IBustObject</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
<link rel="home" href="index.html" title="IBust Reference Manual">
<link rel="up" href="ch06.html" title="Internal">
<link rel="prev" href="ibust-ibusterror.html" title="ibusterror">
<link rel="next" href="ibust-ibustshare.html" title="ibustshare">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="ibust-ibusterror.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch06.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">IBust Reference Manual</th>
<td><a accesskey="n" href="ibust-ibustshare.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#IBustObject.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#IBustObject.description" class="shortcut">Description</a>
                   | 
                  <a href="#IBustObject.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#IBustObject.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry">
<a name="IBustObject"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="IBustObject.top_of_page"></a>IBustObject</span></h2>
<p>IBustObject — Base object of IBust.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="IBustObject.stability-level"></a><h2>Stability Level</h2>
Stable, unless otherwise indicated
</div>
<div class="refsynopsisdiv">
<a name="IBustObject.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">#define             <a class="link" href="IBustObject.html#IBUST-OBJECT-DESTROYED:CAPS" title="IBUST_OBJECT_DESTROYED()">IBUST_OBJECT_DESTROYED</a>               (obj)
#define             <a class="link" href="IBustObject.html#IBUST-OBJECT-IN-DESTRUCTION:CAPS" title="IBUST_OBJECT_IN_DESTRUCTION()">IBUST_OBJECT_IN_DESTRUCTION</a>          (obj)
struct              <a class="link" href="IBustObject.html#IBustObject-struct" title="struct IBustObject">IBustObject</a>;
struct              <a class="link" href="IBustObject.html#IBustObjectClass" title="struct IBustObjectClass">IBustObjectClass</a>;
<span class="returnvalue">void</span>                <a class="link" href="IBustObject.html#ibust-object-destroy" title="ibust_object_destroy ()">ibust_object_destroy</a>                 (<em class="parameter"><code><a class="link" href="IBustObject.html" title="IBustObject"><span class="type">IBustObject</span></a> *object</code></em>);
<a class="link" href="IBustObject.html" title="IBustObject"><span class="returnvalue">IBustObject</span></a> *        <a class="link" href="IBustObject.html#ibust-object-new" title="ibust_object_new ()">ibust_object_new</a>                     (<em class="parameter"><code><span class="type">void</span></code></em>);
</pre>
</div>
<div class="refsect1">
<a name="IBustObject.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  GObject
   +----GInitiallyUnowned
         +----IBustObject
               +----<a class="link" href="IBustSerializable.html" title="IBustSerializable">IBustSerializable</a>
               +----<a class="link" href="IBustBus.html" title="IBustBus">IBustBus</a>
               +----<a class="link" href="IBustService.html" title="IBustService">IBustService</a>
               +----<a class="link" href="IBustKeymap.html" title="IBustKeymap">IBustKeymap</a>
</pre>
</div>
<div class="refsect1">
<a name="IBustObject.signals"></a><h2>Signals</h2>
<pre class="synopsis">
  "<a class="link" href="IBustObject.html#IBustObject-destroy" title='The "destroy" signal'>destroy</a>"                                        : <code class="literal">Run Last</code>
</pre>
</div>
<div class="refsect1">
<a name="IBustObject.description"></a><h2>Description</h2>
<p>
IBustObject is the base object for all objects in IBust.
</p>
</div>
<div class="refsect1">
<a name="IBustObject.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="IBUST-OBJECT-DESTROYED:CAPS"></a><h3>IBUST_OBJECT_DESTROYED()</h3>
<pre class="programlisting">#define IBUST_OBJECT_DESTROYED(obj)         (IBUST_OBJECT_FLAGS (obj) &amp; IBUST_DESTROYED)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="IBUST-OBJECT-IN-DESTRUCTION:CAPS"></a><h3>IBUST_OBJECT_IN_DESTRUCTION()</h3>
<pre class="programlisting">#define IBUST_OBJECT_IN_DESTRUCTION(obj)    (IBUST_OBJECT_FLAGS (obj) &amp; IBUST_IN_DESTRUCTION)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="IBustObject-struct"></a><h3>struct IBustObject</h3>
<pre class="programlisting">struct IBustObject;</pre>
<p>
All the fields in the <span class="structname">IBustObject</span> structure are
private to the <a class="link" href="IBustObject.html" title="IBustObject"><span class="type">IBustObject</span></a> and should never be accessed directly.
</p>
</div>
<hr>
<div class="refsect2">
<a name="IBustObjectClass"></a><h3>struct IBustObjectClass</h3>
<pre class="programlisting">struct IBustObjectClass {
    GInitiallyUnownedClass parent;

    /* signals */
    void (* destroy)        (IBustObject   *object);
};
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="ibust-object-destroy"></a><h3>ibust_object_destroy ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                ibust_object_destroy                 (<em class="parameter"><code><a class="link" href="IBustObject.html" title="IBustObject"><span class="type">IBustObject</span></a> *object</code></em>);</pre>
<p>
Emit the "destory" signal notifying all reference holders that they should
release the <a class="link" href="IBustObject.html" title="IBustObject"><span class="type">IBustObject</span></a>.
</p>
<p>
The memory for the object itself won't be deleted until its reference count
actually drops to 0; ibust_object_destroy merely asks reference holders to
release their references. It does not free the object.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td>an <a class="link" href="IBustObject.html" title="IBustObject"><span class="type">IBustObject</span></a> to destroy.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="ibust-object-new"></a><h3>ibust_object_new ()</h3>
<pre class="programlisting"><a class="link" href="IBustObject.html" title="IBustObject"><span class="returnvalue">IBustObject</span></a> *        ibust_object_new                     (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Creates a new instance of an <a class="link" href="IBustObject.html" title="IBustObject"><span class="type">IBustObject</span></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new instance of <a class="link" href="IBustObject.html" title="IBustObject"><span class="type">IBustObject</span></a>.</td>
</tr></tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="IBustObject.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="IBustObject-destroy"></a><h3>The <code class="literal">"destroy"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="IBustObject.html" title="IBustObject"><span class="type">IBustObject</span></a> *object,
                                                        <span class="type">gpointer</span>    user_data)      : <code class="literal">Run Last</code></pre>
<p>
Destroy and free an IBustObject
</p>
<p>
See also:  <a class="link" href="IBustObject.html#ibust-object-destroy" title="ibust_object_destroy ()"><code class="function">ibust_object_destroy()</code></a>.
</p>
<p>
</p>
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Note</h3>
<p>Argument <em class="parameter"><code>user_data</code></em> is ignored in this function.</p>
</div>
<p>
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td>An IBustObject.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>